<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>数据字典</title>

    <jsp:include page="/WEB-INF/views/commons/commons.jsp"/>

    <script type="text/javascript" src="/static/js/system/dataDictionary.js"></script>
</head>
<body>
<div id="dataDictionary" style="height: 100%">
    <table id="table_dataGrid"></table>
    <div id="tb">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="query">刷新</a>
        <spin style="margin-left: 100px;font-size: 25px;color: #CC2222">双击修改该列对应的明细</spin>
    </div>

    <div id="dialog" class="easyui-dialog">
        <form id="editorForm" method="post">
            <table style="margin:50px auto">
                <tr>
                    <input class="id" type="hidden" name="id">
                    <td align="right">部门名称:</td>
                    <td><input name="name" class="easyui-textbox name" style="width:200px"></td>
                </tr>
                <tr>
                    <td align="right">编号:</td>
                    <td><input name="sn" class="easyui-textbox sn" style="width:200px"></td>
                </tr>
                <tr>
                    <td align="right">备注:</td>
                    <td><input name="explain" class="easyui-textbox explain" style="width:200px"></td>
                </tr>
            </table>
        </form>
    </div>
    <div id="dialog_panel" align="right">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">编辑 </a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true"
           data-cmd="cancel">取消</a>
    </div>
</div>
</div>

<div id="dataDictionaryItem">
    <table id="item_dataGrid"></table>

    <div id="item_td">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
           data-cmd="remove">删除</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
           data-cmd="query">刷新</a>
    </div>

    <div id="item_dialog" class="easyui-dialog">
        <form id="itemForm" method="post">
            <table style="margin:50px auto">
                <tr>
                    <input class="id" type="hidden" name="id">
                    <input id="dictionaryID" type="hidden" name="dictionary.id">
                    <td align="right">部门名称:</td>
                    <td><input name="name" class="easyui-textbox name" style="width:200px"></td>
                </tr>
                <tr>
                    <td align="right">编号:</td>
                    <td><input name="sn" class="easyui-textbox sn" style="width:200px"></td>
                </tr>
                <tr>
                    <td align="right">排序:</td>
                    <td><input name="rank" class="easyui-textbox rank" style="width:200px"></td>
                </tr>
                <tr>
                    <td align="right">备注:</td>
                    <td><input name="explain" class="easyui-textbox explain" style="width:200px"></td>
                </tr>
            </table>
        </form>
    </div>
    <div id="item_panel" align="right">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true"
           data-cmd="save">编辑 </a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true"
           data-cmd="cancel">取消</a>
    </div>
</div>
</div>
</body>
</html>
